package com.example.xinli.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *
 * @TableName user
 */
@TableName(value ="answer_tb")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Answer implements Serializable {

    @TableField(value = "answer_id")
    @TableId(type = IdType.AUTO)
    private int answerId;

    @TableField(value = "user_id")
    private String userId;

    @TableField(value = "record_id")
    private int recordId;

    @TableField(value = "input_pages")
    private String inputPages;

    @TableField(value = "input_content")
    private String inputContent;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}